﻿using System;
using System.Linq;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace InfraPDA
{
    public partial class Login : Form
    {
        public Login()
        {
            InitializeComponent();
        }

        private void Login_Load(object sender, EventArgs e)
        {
            txbLogin.SelectAll();
            txbSenha.PasswordChar = (char)0x25CF;
        }

        /// <summary>
        /// Autentica o usuário.
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void btnEntrar_Click(object sender, EventArgs e)
        {
            frmTelaPrototipo f = new frmTelaPrototipo(); //Precisa colocar o objeto Usuario dentro da função
            this.Hide();
            f.ShowDialog();
            this.Close();
        }

    }
}